package cn.hom1.service.impl;

import cn.hom1.mapper.UserMapper;
import cn.hom1.model.entity.User;
import cn.hom1.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author iksen
 * @date 2019-01-15 20:46
 */
@Service
public class UserServiceImpl implements UserService {

  @Autowired
  private UserMapper userMapper;

  @Override
  public User selectByUsername(String username) {
    return userMapper.selectByUsername(username);
  }
}
